package com.fgr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaokai
 * @since 2023-05-09
 */
@TableName("an_animaltype")
public class Animaltype implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 动物类型表主键
     */
    @TableId(value = "ty_id", type = IdType.AUTO)
    private Long tyId;

    /**
     * 动物类型
     */
    private String tyName;

    /**
     * 逻辑删除字段
     */
    private Boolean isDel;

    public Long getTyId() {
        return tyId;
    }

    public void setTyId(Long tyId) {
        this.tyId = tyId;
    }

    public String getTyName() {
        return tyName;
    }

    public void setTyName(String tyName) {
        this.tyName = tyName;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "Animaltype{" +
        "tyId = " + tyId +
        ", tyName = " + tyName +
        ", isDel = " + isDel +
        "}";
    }
}
